package edu.uoc.tdp.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author J2RS / Jordi Sanchez
 */
public class Resource implements Serializable {

    private Integer resourceid;
    private String resourcedescription;
    private Integer amount;
    private Double price_hour;
    private Double price_day;
    private Date creation_date;
    private String creation_user;
    private Date inactivation_date;
    private String inactivation_user;
    private Date record_date;

    public Resource(){
        
    };
    
    public Resource(Integer resourceid, String resourcedescription, Integer amount, Double price_hour, Double price_day, Date creation_date, String creation_user, Date inactivation_date, String inactivation_user, Date record_date) {
        this.resourceid = resourceid;
        this.resourcedescription = resourcedescription;
        this.amount = amount;
        this.price_hour = price_hour;
        this.price_day = price_day;
        this.creation_date = creation_date;
        this.creation_user = creation_user;
        this.inactivation_date = inactivation_date;
        this.inactivation_user = inactivation_user;
        this.record_date = record_date;
    }

    public Integer getResourceId() {
        return resourceid;
    }

    public void setResourceId(Integer resourceid) {
        this.resourceid = resourceid;
    }

    public String getResourceDescription() {
        return resourcedescription;
    }

    public void setResourceDescription(String resourcedescription) {
        this.resourcedescription = resourcedescription;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Double getPriceHour() {
        return price_hour;
    }

    public void setPriceHour(Double price_hour) {
        this.price_hour = price_hour;
    }

    public Double getPriceDay() {
        return price_day;
    }

    public void setPriceDay(Double price_day) {
        this.price_day = price_day;
    }

    public Date getCreationDate() {
        return creation_date;
    }

    public void setCreationDate(Date creation_date) {
        this.creation_date = creation_date;
    }

    public String getCreationUser() {
        return creation_user;
    }

    public void setCreationUser(String creation_user) {
        this.creation_user = creation_user;
    }

    public Date getInactivationDate() {
        return inactivation_date;
    }

    public void setInactivationDate(Date inactivation_date) {
        this.inactivation_date = inactivation_date;
    }

    public String getInactivationUser() {
        return inactivation_user;
    }

    public void setInactivationUser(String inactivation_user) {
        this.inactivation_user = inactivation_user;
    }

    public Date getRecordDate() {
        return record_date;
    }

    public void setRecordDate(Date record_date) {
        this.record_date = record_date;
    }
}
